from rest_framework import serializers

from apps.app_friend.models import Friend


class FriendsSerializer(serializers.ModelSerializer):
    class Meta:
        model = Friend
        fields = ('id', 'title', 'link_to', 'pub_time')
